// import Layout from "@/layout";

const diseasePreventionAndControl = {
  path: "/disease-prevention-and-control",
  component: "Layout",
  redirect: "noRedirect",
  name: "diseasePreventionAndControl",
  meta: { title: "病害防治", icon: "jibingguanli" },
  children: [
    {
      path: "/water-quality-information-input",
      name: "waterQualityInformationInput",
      component: "report-management/water-quality-report",
      meta: { title: "水质管理", icon: "environmental-data-entry" }
    },
    {
      path: "/disease-management",
      component: "layout-second/index",
      name: "diseaseManagement",
      meta: {
        title: "病害管理",
        icon: "jibingguanli",
        isNcQuery: true
      },
      children: [
        {
          path: "/disease-records",
          name: "diseaseRecords",
          component: "disease-prevention-and-control/disease-records/index",
          meta: { title: "疾病诊断", icon: "zhenduan", isNcQuery: false }
        },
        {
          path: "/preventive-management",
          name: "preventiveManagement",
          component: "disease-prevention-and-control/preventive-management/index",
          meta: { title: "防治管理", icon: "yufang", isNcQuery: false }
        },
        {
          path: "/disease-nc-records",
          name: "diseaseRecords",
          component: "disease-prevention-and-control/disease-records-nc/index",
          meta: { title: "疾病诊断", icon: "zhenduan", isNcQuery: true }
        },
        {
          path: "/preventive-nc-management",
          name: "preventiveManagement",
          component: "disease-prevention-and-control/preventive-management-nc/index",
          meta: { title: "防治管理", icon: "yufang", isNcQuery: true }
        }
      ]
    },
    {
      path: "/disease-database",
      component: "layout-second/index",
      name: "diseaseDatabase",
      meta: { title: "疾病库", icon: "jibingku" },
      children: [
        {
          path: "/disease-database-view",
          name: "diseaseDatabaseView",
          component: "disease-prevention-and-control/disease-database-view/index",
          meta: { title: "疾病库查看", icon: "chaxun-3" }
        },
        {
          path: "/features-type",
          name: "preventiveManagement",
          component: "disease-prevention-and-control/features-type/index",
          meta: { title: "疾病诊断项", icon: "zhenduan" }
        },
        {
          path: "/characteristic-management",
          name: "characteristicManagement",
          component: "disease-prevention-and-control/characteristic-management/index",
          meta: { title: "疾病管理", icon: "jibingguanli" }
        },
        {
          path: "/disease-characteristic-management",
          name: "diseaseCharacteristicManagement",
          component: "disease-prevention-and-control/disease-characteristic-management/index",
          meta: { title: "疾病特征管理", icon: "zhengzhuang" }
        },
        {
          path: "/disease-case-management",
          name: "diseaseCaseManagement",
          component: "disease-prevention-and-control/disease-case-management/index",
          meta: { title: "疾病案例管理", icon: "keep-add" }
        }
      ]
    },

    // {
    //   path: "/material-input-records",
    //   name: "materialInputRecords",
    //   component: "disease-prevention-and-control/material-input-records/index",
    //   meta: { title: "动保/药物", icon: "wuliaoguanli" }
    // },

  ]
}

export default diseasePreventionAndControl;
